package com.ruoyi.product.domain;

import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import com.ruoyi.product.pojo.BaseEntity;
import lombok.Data;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.core.annotation.Excel;
/**
 * 商品品牌对象 tb_brand
 * 
 * @author Keven
 * @date 2025-08-04
 */
@TableName("tb_brand")
@Data
public class TbBrand extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 品牌ID */
    @TableId
    @Excel(name = "品牌ID")
    private Long brandId;

    /** 品牌名称 */
    @Excel(name = "品牌名称")
    private String brandName;

    /** 使用数量 */
    @Excel(name = "使用数量")
    private Integer brandUse;

    /** 排序 */
    @Excel(name = "排序")
    private Integer brandTop;

    /** 状态 */
    @Excel(name = "状态")
    private Integer brandStatus;

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("brandId", getBrandId())
            .append("brandName", getBrandName())
            .append("brandUse", getBrandUse())
            .append("brandTop", getBrandTop())
            .append("brandStatus", getBrandStatus())
            .append("createBy", getCreateBy())
            .append("createTime", getCreateTime())
            .append("updateBy", getUpdateBy())
            .append("updateTime", getUpdateTime())
            .toString();
    }
}
